<?php
/** 
 * @uses 		基础Controller
 * @author 		Duan
 * @version 	1.0
 * @copyright	Yihuan							  
 */
namespace Myfuyou\Controller;

class BaseController
{
	/**
	 * @uses  	json公共输出
	 * @param 	$code 错误码
	 */
	protected function jsonResult($code)
	{
		echo json_encode(['code' => $code]);die;
	}


}